package com.myk.game.gobangchess.constants;

/**
 * 棋盘样式信息，0空格，1黑棋，2白棋，9墙
 */
public interface BoardStyleData {

    int[][] TRADITION_REVERSI_STYLE = {
            {0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 1, 2, 0, 0, 0},
            {0, 0, 0, 2, 1, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0}
    };

    int[][] DEFAULT_REVERSI_BIG_STYLE = {
            {9, 0, 0, 0, 0, 0, 0, 0, 0, 9},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 1, 2, 0, 0, 0, 0},
            {0, 0, 0, 0, 2, 1, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {9, 0, 0, 0, 0, 0, 0, 0, 0, 9}
    };

    int[][] OCTAGON_REVERSI_STYLE = {
            {9, 9, 9, 0, 0, 0, 0, 9, 9, 9},
            {9, 9, 0, 0, 0, 0, 0, 0, 9, 9},
            {9, 0, 0, 0, 0, 0, 0, 0, 0, 9},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 1, 2, 0, 0, 0, 0},
            {0, 0, 0, 0, 2, 1, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {9, 0, 0, 0, 0, 0, 0, 0, 0, 9},
            {9, 9, 0, 0, 0, 0, 0, 0, 9, 9},
            {9, 9, 9, 0, 0, 0, 0, 9, 9, 9}
    };

    int[][] FOUR_GRAVITE_STYLE_6x6 = {
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 9, 9, 9, 9, 9, 9, 9, 9, 0},
            {0, 9, 0, 0, 0, 0, 0, 0, 9, 0},
            {0, 9, 0, 0, 0, 0, 0, 0, 9, 0},
            {0, 9, 0, 0, 0, 0, 0, 0, 9, 0},
            {0, 9, 0, 0, 0, 0, 0, 0, 9, 0},
            {0, 9, 0, 0, 0, 0, 0, 0, 9, 0},
            {0, 9, 0, 0, 0, 0, 0, 0, 9, 0},
            {0, 9, 9, 9, 9, 9, 9, 9, 9, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    };

    int[][] BLOCK_ROAD_STYLE_10x10 = {
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 2, 0, 0, 0, 0},
            {0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    };

    int[][] PRINCES_KNIGHT_CHESS_STYLE = {
            {0, 0, 9, 0, 0},
            {0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0},
            {9, 0, 0, 0, 9},
            {0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0},
            {0, 0, 9, 0, 0}
    };

    int[][] CONNECT_CORNERS_12X12_STYLE = {
            {1, 1, 1, 0, 0, 0, 0, 0, 0, 2, 2, 2},
            {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2},
            {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
            {2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
            {2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
            {2, 2, 2, 0, 0, 0, 0, 0, 0, 1, 1, 1}
    };

    static int[][] getGoBangStyle(int row,int col){
        return new int[row][col];
    }
}
